package com.yoyo.yoyoplat.bean;


/**
 * 视频⼴告请求参数结构体
 */
public class VideoReqDTO {


    /**
     * 视频播放形式
     */
    private Integer orientation;
    /**
     * 最⼩的视频⻓度，闭区间，包含最⼩⻓度， 以毫秒为单位，默认为0不限制
     */
    private Long minDuration;
    /**
     * 最⼤的视频⻓度，闭区间，包含最⼤⻓度， 以毫秒为单位，默认为0不限制
     */
    private Long maxDuration;
    /**
     * ⽀持的视频类型, 默认为空不限制，多个请⽤英⽂逗号(,)分割
     */
    private String mimeTypes;
    /**
     * 允许的视频最⼤⻓度，以KB为单位，默认为0不限制
     */
    private Integer maxLength;
    /**
     * 视频的加载⽅式
     * 0: 不限；
     * 1: 实时；
     * 2: 预加载
     */
    private Integer delivery;

    public VideoReqDTO() {
        this.orientation = 0;
        this.minDuration = 0L;
        this.maxDuration = 0L;
        this.mimeTypes = "";
        this.maxLength = 0;
        this.delivery = 0;
    }

    public Integer getOrientation() {
        return orientation;
    }

    public void setOrientation(Integer orientation) {
        this.orientation = orientation;
    }

    public Long getMinDuration() {
        return minDuration;
    }

    public void setMinDuration(Long minDuration) {
        this.minDuration = minDuration;
    }

    public Long getMaxDuration() {
        return maxDuration;
    }

    public void setMaxDuration(Long maxDuration) {
        this.maxDuration = maxDuration;
    }

    public String getMimeTypes() {
        return mimeTypes;
    }

    public void setMimeTypes(String mimeTypes) {
        this.mimeTypes = mimeTypes;
    }

    public Integer getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(Integer maxLength) {
        this.maxLength = maxLength;
    }

    public Integer getDelivery() {
        return delivery;
    }

    public void setDelivery(Integer delivery) {
        this.delivery = delivery;
    }
}
